﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ymatou.Evaluate.Common
{
    public sealed class ConnectionStringHelper
    {
        /// <summary>
        /// EvaluateDB读库
        /// </summary>
        public static string EvaluateDBReadConnectionString
        {
            get { return ConfigurationManager.ConnectionStrings["EvaluateDBReadConnectionString"].ConnectionString; }
        }

        /// <summary>
        /// EvaluateDB写库
        /// </summary>
        public static string EvaluateDBWriteConnectionString
        {
            get { return ConfigurationManager.ConnectionStrings["EvaluateDBWriteConnectionString"].ConnectionString; }
        }

    }
}
